/* main.c */
#include <stdio.h>
/*需要包含的头文件*/
#include "add.h"
#include "sub.h"
int main(void)
{
    /*声明计算所用的变量 *a,b为整形，x,y为浮点型*/
    int a = 10, b = 12;
    float x = 1.23456, y = 9.87654321;
    /*条用函数并将计算结果打印出来*/
    printf("int a+b IS:%d\n", add_int(3*a,2*b));
    printf("int a+b IS:%d\n", add_int(a, b));
    printf("int a-b IS:%d\n", sub_int(a, b));
    printf("float x-y IS:%f\n", sub_float(a, b));
    return 0;
}
